package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetTwoFileRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetTwoFilePo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetTwoFileDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetTwoFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetTwoFileDomainImpl extends BaseDomainImpl<BudgetTwoFileDto, BudgetTwoFilePo> implements BudgetTwoFileDomain {

    @Resource
    private BudgetTwoFileRepository budgetTwoFileRepository;

    @Override
    public BaseRepository<BudgetTwoFilePo> getMapper() {
        return budgetTwoFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetTwoFilePo>> getRepositoryClass() {
        return BudgetTwoFileRepository.class;
    }

}
